package com.maven.front.dto;

import com.maven.front.bean.EduArticle;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EduArticleDto  extends EduArticle implements java.io.Serializable{
    private String  content;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
